package com.jz.mx.mapper.sqlServer;

import com.jz.mx.bean.Aphereses;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yyy
 * @since 2019-08-19
 */
public interface ApheresesMapper extends BaseMapper<Aphereses> {

    @Select("SELECT * FROM APHERESES WHERE SFZ = #{idNo} AND END_TIME  BETWEEN #{beginTime} AND #{endTime}")
    List<Aphereses> getByIdNoAndTime(@Param("idNo") String idNo, @Param("beginTime")String beginTime, @Param("endTime")String endTime);
}
